/*
 * ========================================================
 * Copyright(c) 2014 杭州偶尔科技-版权所有
 * ========================================================
 * 本软件由杭州偶尔科技所有, 未经书面许可, 任何单位和个人不得以
 * 任何形式复制代码的部分或全部, 并以任何形式传播。
 * 公司网址
 * 
 * 			http://www.kkkd.com/
 * 
 * ========================================================
 */

package com.simon.mengkou.data.bean.req;


import com.ouertech.android.agm.lib.base.bean.BaseRequest;

/**
 * @author : Zhenshui.Xia
 * @date   :  2014年12月15日
 * @desc   : 登录请求参数
 */
public class LoginReq extends BaseRequest {
    private static final long serialVersionUID = 1L;
    //登录账号类型
    private int type;
    //手机号码
    private String phone;
    //密码
    private String passWord;
    //认证token
    private String authToken;
    //刷新token
    private String refreshToken;
    //过期时间 （时间戳抓换成毫秒）
    private long expiredTime;
    //QQ，WEIXIN 需要传递
    private String openId;
    //sina要用
    private String uid;
    //经度
    private double longitude;
    //纬度
    private double latitude;
    //地址
    private String location;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
        add("type", String.valueOf(type));
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
        add("phone", phone);
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
        add("passWord", passWord);
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken;
        add("authToken", authToken);
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
        add("refreshToken", refreshToken);
    }

    public long getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(long expiredTime) {
        this.expiredTime = expiredTime;
        add("expiredTime", String.valueOf(expiredTime));
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
        add("openId", openId);
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
        add("uid", uid);
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
        add("longitude", String.valueOf(longitude));
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
        add("latitude", String.valueOf(latitude));
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
        add("location", location);
    }

}
